package com.stylefeng.guns.config.properties;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author WG
 * @title: MyConfig
 * @projectName guns-parent
 * @description: TODO
 * @date 2019/10/2922:26
 */
@Configuration
public class MyConfig {

    @Value("${server.port}")
    private int port;

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }
}
